package com.ecfront.dao;

import java.util.List;

import com.ecfront.pojo.WebSite;

public interface WebSiteDAO {

	// property constants
	public static final String WNAME = "name";
	public static final String WLOGO_URL = "logoUrl";
	public static final String WADD = "add";
	public static final String WPHONE = "phone";
	public static final String WICP = "icp";
	public static final String WEMAIL = "email";
	public static final String WINFO = "info";
	public static final String WCOMPANY = "company";
	public static final String WCOMPANY_SITE_URL = "companySiteUrl";
	public static final String WCONPANY_INFO = "conpanyInfo";
	public static final String WSMTP_NAME = "smtpName";
	public static final String WSMTP_PWD = "smtpPwd";
	public static final String WPAY_NBR = "payNbr";
	public static final String WSHOW_GOODS_TIME = "showGoodsTime";

	public abstract void save(WebSite transientInstance);

	public abstract void delete(WebSite persistentInstance);

	public abstract WebSite findById(java.lang.Integer id);

	public abstract List findByExample(WebSite instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByWname(Object wname);

	public abstract List findByWlogoUrl(Object wlogoUrl);

	public abstract List findByWadd(Object wadd);

	public abstract List findByWphone(Object wphone);

	public abstract List findByWicp(Object wicp);

	public abstract List findByWemail(Object wemail);

	public abstract List findByWinfo(Object winfo);

	public abstract List findByWcompany(Object wcompany);

	public abstract List findByWcompanySiteUrl(Object wcompanySiteUrl);

	public abstract List findByWconpanyInfo(Object wconpanyInfo);

	public abstract List findByWsmtpName(Object wsmtpName);

	public abstract List findByWsmtpPwd(Object wsmtpPwd);

	public abstract List findByWpayNbr(Object wpayNbr);

	public abstract List findByWshowGoodsTime(Object wshowGoodsTime);

	public abstract List findAll();

}